package cn.piesat.vo.deptinfo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * 返回给前端格式化时间后的类
 *
 * @author xhl
 */
public class DeptInfoVO {

    private String id;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 上级部门ID
     */
    private String prentId;

    /**
     * 排序
     */
    private Integer seq;

    /**
     * 更新时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 操作者IP
     */
    private String operatorIp;

    /**
     * 备注
     */
    private String remark;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrentId() {
        return prentId;
    }

    public void setPrentId(String prentId) {
        this.prentId = prentId;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getOperatorIp() {
        return operatorIp;
    }

    public void setOperatorIp(String operatorIp) {
        this.operatorIp = operatorIp;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
